home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 02 Useful Techniques / 02 Orkin / Vector.h < prev   
Encoding:
C/C++ Source or Header  |  2001-07-01  |  197 b   |  16 lines

  1. #ifndef __VECTOR_H__
  2. #define __VECTOR_H__
  3.  
  4.  
  5. struct Vector
  6. {
  7.     Vector() {}
  8.     Vector(float _x, float _y, float _z) { x = _x; y = _y; z = _z; }
  9.     float x; 
  10.     float y;
  11.     float z;
  12. };
  13.  
  14.  
  15. #endif
  16.